package org.tangerinejunction.imstats.util;

import org.jfree.chart.labels.PieToolTipGenerator;
import org.jfree.data.general.PieDataset;

/**
 * Creates the tooltips for the pie chart.
 * 
 * @author meganthorsen
 */
public class PieChartToolTips implements PieToolTipGenerator 
{
	public String generateToolTip(PieDataset dataset, Comparable key) 
	{
		return key + ": " + dataset.getValue(key);
	}
}
